package com.ict.web.service;
import java.io.IOException;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ict.web.domain.GovernmentDataResources;
import com.ict.web.dto.GovernmentDataResourceAddDto;
import com.ict.web.vo.UploadVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * 政务数据资源目录清单--刘杰Service接口
 *
 * @author ruoyi
 * @date 2022-03-13
 */
public interface IGovernmentDataResourcesService extends IService<GovernmentDataResources>
{
    /**
     * 查询政务数据资源目录清单--刘杰
     *
     * @param governmentDataId 政务数据资源目录清单--刘杰主键
     * @return 政务数据资源目录清单--刘杰
     */
    public GovernmentDataResources selectGovernmentDataResourcesByGovernmentDataId(Long governmentDataId);

    /**
     * 查询政务数据资源目录清单--刘杰列表
     *
     * @param governmentDataResources 政务数据资源目录清单--刘杰
     * @return 政务数据资源目录清单--刘杰集合
     */
    public List<GovernmentDataResources> selectGovernmentDataResourcesList(GovernmentDataResources governmentDataResources);

    public int insertGovernmentDataResources(Long programmeId,GovernmentDataResourceAddDto dto);

    /**
     * 批量导入目录文件.xls/.xlsx
     * @param file
     * @return
     * @throws IOException
     */
    UploadVo batchInsertFile(MultipartFile file) throws IOException;
}
